home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
DJGPP
/
DJDEV111.ZIP
/
include
/
errno.h
< prev
next >
Wrap
C/C++ Source or Header
|
1993-11-27
|
2KB
|
47 lines
/*
** Copyright (C) 1991 DJ Delorie, 24 Kirsten Ave, Rochester NH 03867-2954
**
** This file is distributed under the terms listed in the document
** "copying.dj", available from DJ Delorie at the address above.
** A copy of "copying.dj" should accompany this file; if not, a copy
** should be available from where this file was obtained. This file
** may not be distributed without a verbatim copy of "copying.dj".
**
** This file is distributed WITHOUT ANY WARRANTY; without even the implied
** warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/
#ifndef errno_h
#define errno_h 1
#define ENOENT 2 /* No such file or directory */
#define ENOTDIR 3 /* No path */
#define EMFILE 4 /* Too many open files */
#define EACCES 5 /* Permission denied */
#define EBADF 6 /* Bad file number */
#define EARENA 7 /* Arena trashed */
#define ENOMEM 8 /* Not enough core */
#define ESEGV 9 /* invalid memory address */
#define EBADENV 10 /* invalid environment */
#define ENODEV 15 /* No such device */
#define ENMFILE 18 /* No more files */
#define EINVAL 19 /* Invalid argument */
#define E2BIG EBADENV /* Arg list too long */
#define ENOEXEC 21 /* Exec format error */
#define EXDEV 17 /* Cross-device link */
#define EPIPE 32 /* POHC */
#define EDOM 33 /* Math argument */
#define ERANGE 34 /* Result too large */
#define EWOULDBLOCK 35 /* POHC */
#define EEXIST 36 /* File already exists */
#define EINTR 100 /* Interrupted system call */
#define EIO 101 /* I/O or bounds error */
#define ENOSPC 102 /* No space left on drive */
#define EAGAIN 103 /* No more processes */
#define ECHILD 200 /* child exited (porting only) */
#define ENXIO ENODEV
#define EPERM EACCES
#include <std.h>
#endif